-
Home
-
WooCommerce Attribute Stock – Shared Stock & Variable Quantities (Lite Version)
-
2.0.0
-
Code
-
Classes
- AttributeStock
Total Complexity |
61 |
Dependencies |
5 |
Dependents |
50 |
Total lines |
457 |
Lines of code |
177 |
Logical lines of code |
81 |
Comment lines |
144 |
Methods |
42 |
Properties |
2 |
Methods 42
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
formatted_quantity() |
S |
54 |
6 |
18 |
duplicate() |
S |
60 |
3 |
12 |
low_stock() |
S |
63 |
3 |
10 |
products() |
S |
75 |
2 |
4 |
set_enabled() |
S |
79 |
2 |
3 |
exclude_categories() |
S |
75 |
2 |
4 |
product_types() |
S |
75 |
2 |
4 |
categories() |
S |
75 |
2 |
4 |
exclude_products() |
S |
75 |
2 |
4 |
adjust_quantity() |
S |
67 |
2 |
8 |
quantity() |
S |
74 |
2 |
4 |
set_image_id() |
S |
78 |
2 |
3 |
image_id() |
S |
79 |
2 |
3 |
limit_products() |
S |
74 |
1 |
4 |
set_limit_products() |
S |
74 |
1 |
4 |
save_match_rules() |
S |
80 |
1 |
3 |
match_rules() |
S |
78 |
1 |
3 |
save_components() |
S |
80 |
1 |
3 |
components() |
S |
78 |
1 |
3 |
set_product_types() |
S |
80 |
1 |
3 |
match_all() |
S |
75 |
1 |
4 |
set_exclude_categories() |
S |
79 |
1 |
3 |
set_categories() |
S |
79 |
1 |
3 |
tags() |
S |
67 |
1 |
8 |
enabled() |
S |
80 |
1 |
3 |
set_exclude_products() |
S |
79 |
1 |
3 |
internal() |
S |
80 |
1 |
3 |
sku() |
S |
80 |
1 |
3 |
set_sku() |
S |
80 |
1 |
3 |
set_quantity() |
S |
79 |
1 |
3 |
set_low_stock() |
S |
79 |
1 |
3 |
notes() |
S |
80 |
1 |
3 |
set_notes() |
S |
79 |
1 |
3 |
set_internal() |
S |
79 |
1 |
3 |
set_products() |
S |
79 |
1 |
3 |
multiplex() |
S |
80 |
1 |
3 |
set_multiplex() |
S |
79 |
1 |
3 |
lock_multipliers() |
S |
80 |
1 |
3 |
set_lock_multipliers() |
S |
79 |
1 |
3 |
product_image() |
S |
80 |
1 |
3 |
set_product_image() |
S |
79 |
1 |
3 |
set_match_all() |
S |
75 |
1 |
4 |